Abnormal events

Function Introduction

  Abnormal ground lock event

explanation

Request message style

{
    "operator": "AbnormalEvent",
    "deviceInfo": {
        "serialNumber": "I320013590DEA0BE21F6958",
        "platformId": "1234556666"
    },
    "info": {        
        "eventId": 1,
        "time": "2020-03-31T10:10:01+08:00",
        "eventType": "",
        "eventDescription": ""
    }
}

Request message parameters

Message field name description Required
deviceinfo

serialNumber Device serial number Yes
platformID platform ID No



info

eventId Event ID. For the same event, the ID is the same Yes
time The time when the event occurred, in accordance with the ISO 8601 time format. Please refer to the ISO8601 standard for the combination of date and time. Yes
eventType Event type. 0 - Ground lock abnormality, 1 - Device abnormality Yes
eventDescription Event description: "TF card abnormality", "very low power", "low power", "overcurrent", "pull down", "pull back", "power failure", "motion timeout" Yes

Response message style

{
    "operator": "AbnormalEvent-Ack",
    "info": {
        "eventId": 1
    },
    "result": {
        "errorNo": 0,
        "description": "ok"
    }
}

Response message parameters

Message field name description Required
eventId Event ID. For the same event, the ID is the same Yes